<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">

<head th:include="include :: header"></head>

<style>
    #license1{
        display: none;
    }
</style>

<!--    添加考试用户页面 -->

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <input type="hidden" id="examRegistrationId" name="examRegistrationId" th:value="${examRegistrationId}">
                        <input type="hidden" id="examType" name="type" th:value="${type}">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">姓名：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" placeholder="姓名请输入" name="name" id="name">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">性别：</label>
                            <div class="col-sm-8">

                                <label for="girl"><input id="girl" type="radio" name="gender" value="2">女</label>
                                <label for="male"><input id="male" type="radio" name="gender" value="1">男</label>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系方式：</label>
                            <div class="col-sm-8">
                                <input id="contact" name="contact" placeholder="联系方式" class="form-control" type="text">

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">政治面貌：</label>
                            <div class="col-sm-8">
                                <select name="politicalStatus" id="politicalStatus" class="form-control">
                                    <option value="">请选择</option>
                                    <option value="1">群众</option>
                                    <option value="2">中共党员</option>
                                    <option value="3">共青团员</option>
                                    <option value="4">中共预备党员</option>
                                    <option value="5">无党派人士</option>
                                    <option value="6">其他民主党派人士</option>
                                </select>
<!--                                <input id="politicalStatus" name="politicalStatus" placeholder="政治面貌" class="form-control" type="text">-->
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系邮箱：</label>
                            <div class="col-sm-8">
                                <input id="email" name="email" class="form-control" type="text" placeholder="联系邮箱">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">身份证号码：</label>
                            <div class="col-sm-8">
                                <input id="idCardNumber" name="idCardNumber" class="form-control" type="text" placeholder="身份证号码">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">所在省份：</label>
                            <div class="col-sm-8">
                                <select name="province" id="province" class="form-control"></select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">所在市：</label>
                            <div class="col-sm-8">
                                <select name="city" id="city" class="form-control"></select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">单位名称：</label>
                            <div class="col-sm-8">
                                <input id="companyName" name="companyName" class="form-control" placeholder="单位名称" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">所在专业：</label>
                            <div class="col-sm-8">
                                <input name="major" id="major" placeholder="所在专业" class="form-control">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">职位：</label>
                            <div class="col-sm-8">
                                <select name="positionInfo" id="positionInfo" class="form-control">
                                    <option value="">请选择</option>
                                    <option value="1">院长</option>
                                    <option value="2">副院长</option>
                                    <option value="3">主任</option>
                                    <option value="4">副主任</option>
                                    <option value="5">学科带头人</option>
                                    <option value="6">专业负责人</option>
                                    <option value="7">专业教师</option>
                                    <option value="8">其他</option>
                                    <option value="9">无</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">职称：</label>
                            <div class="col-sm-8">
                                <select name="titleInfo" id="titleInfo" class="form-control">
                                    <option value="">请选择</option>
                                    <option value="1">教授</option>
                                    <option value="2">副教授</option>
                                    <option value="3">讲师</option>
                                    <option value="4">助教</option>
                                    <option value="5">无</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">开票单位名称：</label>
                            <div class="col-sm-8">
                                <input name="companyCodeName" id="companyCodeName" placeholder="发票单位名称" class="form-control">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">税号：</label>
                            <div class="col-sm-8">
                                <input name="taxNumber" id="taxNumber" placeholder="税号" class="form-control">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">统一社会代码：</label>
                            <div class="col-sm-8">
								<input id="creditCode" name="creditCode" class="form-control" rows="5" placeholder="统一社会代码">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">收件地址：</label>
                            <div class="col-sm-8">
                                <input id="detailedMailingAddress" name="detailedMailingAddress" class="form-control" placeholder="收件地址">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">照片信息：</label>
                            <div class="col-sm-8">
                                <div id="license1">
                                    <div class="closeBtn"></div>
                                </div>
                                <input type="hidden" id="license" name="photoInfo">
                                <button type="button" class="btn btn-success" id="business" style="margin-top: 10px;">
                                    <i class="fa fa-cloud"></i>照片信息
                                </button>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button onclick="save()" type="button" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="jzweb:examRegistration:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:examRegistration:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:examRegistration:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
<div th:include="include::footer"></div>

<script type="text/javascript" src="/js/city.json"></script>
<script type="text/javascript" src="/js/webJs/jzweb/examRegistration/addExamUserRegistration.js"></script>

</body>
</html>

